package com.itmuch.cloud.config;

/**
 * 负载均衡配置类
 */

import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.context.annotation.Configuration;
/**
 * 负载均衡配置类
 */
@Configuration
@LoadBalancerClients({
        @LoadBalancerClient(name = "microservice-provider-user", configuration = CustomLoadBalancerConfig.class),
        @LoadBalancerClient(name = "microservice-provider-user-metadata", configuration = GlobalLoadBalancerConfig.class)
})
public class LoadBalancerClientConfiguration {
}
